<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
<script type="text/javascript" src=https://vuejs.org/js/vue.js></script>
</head>
<body>

	<div id=root>
	<input v-model="msg">
	<dvi :title="'tiiii'+ti " @click="func">{{msg}}</dvi></div>
<!-- 	这样取值也可以 -->
<!-- 	<div id=root v-text="msg"></div> -->
<!-- 	<div id=root v-html="msg"></div> -->
	<script type="text/javascript">
	new Vue({
		el:"#root"
// 		,template:'<h1>hh {{msg}}</h1>'
		,data:{msg:'32222233'
			,ti:9999
		}
		,methods:{
			func:function(t){
			this.msg='hello'
			}
		}
		
	})
	</script>
</body>
</html>